package cn.edu.paisi.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author en.edu.paisi
 * @since 2021-03-01
 */
public class Teachers extends Model<Teachers> {

    private static final long serialVersionUID = 1L;

    /**
     * 教师编号
     */
    @TableId    //主键注解
    private Integer teaId;

    /**
     * 教师姓名
     */
    private String teaName;

    /**
     * 教师性别。男，女
     */
    private String teaSex;

    /**
     * 教师年龄
     */
    private Integer teaAge;

    /**
     * 教师电话
     */
    private String teaTel;

    /**
     * 教师邮箱
     */
    private String teaMail;

    /**
     * 教师职称
     */
    private String teaMaster;

    /**
     * 教师密码
     */
    private Integer teaAccount;
    private String teaPsw;

    /**
     * 入职时间
     */
    private String teaHiredate;
    
    private String teaRole;

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public String getTeaSex() {
        return teaSex;
    }

    public void setTeaSex(String teaSex) {
        this.teaSex = teaSex;
    }

    public Integer getTeaAge() {
        return teaAge;
    }

    public void setTeaAge(Integer teaAge) {
        this.teaAge = teaAge;
    }

    public String getTeaTel() {
        return teaTel;
    }

    public void setTeaTel(String teaTel) {
        this.teaTel = teaTel;
    }

    public String getTeaMail() {
        return teaMail;
    }

    public void setTeaMail(String teaMail) {
        this.teaMail = teaMail;
    }

    public String getTeaMaster() {
        return teaMaster;
    }

    public void setTeaMaster(String teaMaster) {
        this.teaMaster = teaMaster;
    }

    public String getTeaPsw() {
        return teaPsw;
    }

    public void setTeaPsw(String teaPsw) {
        this.teaPsw = teaPsw;
    }

    public String getTeaHiredate() {
        return teaHiredate;
    }

    public void setTeaHiredate(String teaHiredate) {
        this.teaHiredate = teaHiredate;
    }

    @Override
    protected Serializable pkVal() {
        return this.teaId;
    }

	public Integer getTeaAccount() {
		return teaAccount;
	}

	public void setTeaAccount(Integer teaAccount) {
		this.teaAccount = teaAccount;
	}

	public String getTeaRole() {
		return teaRole;
	}

	public void setTeaRole(String teaRole) {
		this.teaRole = teaRole;
	}

	@Override
	public String toString() {
		return "Teachers [teaId=" + teaId + ", teaName=" + teaName + ", teaSex=" + teaSex + ", teaAge=" + teaAge
				+ ", teaTel=" + teaTel + ", teaMail=" + teaMail + ", teaMaster=" + teaMaster + ", teaAccount="
				+ teaAccount + ", teaPsw=" + teaPsw + ", teaHiredate=" + teaHiredate + ", teaRole=" + teaRole + "]";
	}

    
}
